package com.wz.util;

import android.content.Context;
import android.view.Gravity;
import android.widget.Toast;

public class ToastUtil {

	public static void showLong(Context context, String content) {
		Toast toast = Toast.makeText(context, content, Toast.LENGTH_LONG);
		toast.setGravity(Gravity.TOP, 0, 300);
		toast.show();
	}

	public static void showShort(Context context, String content) {
		Toast toast = Toast.makeText(context, content, Toast.LENGTH_SHORT);
		toast.setGravity(Gravity.TOP, 0, 300);
		toast.show();
	}

}
